package com.five.admin.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.five.admin.dto.BrandQueryDto;
import com.five.pojo.entity.Brand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandMapper extends BaseMapper<Brand> {
    Page<Brand> findAll(Page<Brand> page,@Param("brandDto") BrandQueryDto brandQueryDto);
    List<Long> fingIdsByBrandName(String brandName);
}
